
/* GE.CO. — integrazione minima sulla struttura Casa+ */

/* ── Hero (come home: foto visibile + testo leggibile) ── */
.geco-page .box1 {
	height: 100vh;
	min-height: 560px;
}

.geco-page .geco-hero-slide {
	height: 100vh !important;
	min-height: 560px;
}

.geco-page .geco-hero-slide .sliderimg-in {
	opacity: 0.4;
	background-image: url('./immagini/hero.jpg');
}

.geco-logos-hero {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px 36px;
	margin-bottom: 36px;
}

.geco-logos-hero .logobox1 {
	width: auto;
	max-width: min(560px, 90vw);
	height: auto;
	max-height: clamp(110px, 20vw, 220px);
}

.geco-logos-hero .logo-geco {
	max-height: clamp(96px, 18vw, 200px);
	max-width: min(500px, 86vw);
}

.geco-logos-hero .bianco.fs30 {
	font-size: clamp(28px, 4vw, 48px);
	line-height: 1;
}

@media only screen and (max-width: 1229px) {
	.geco-logos-hero {
		flex-direction: column;
		gap: 18px;
	}

	.geco-logos-hero .logobox1 {
		max-width: min(392px, 63vw);
		max-height: clamp(77px, 14vw, 154px);
	}

	.geco-logos-hero .logo-geco {
		max-height: clamp(67px, 12.6vw, 140px);
		max-width: min(350px, 60.2vw);
	}

	.geco-logos-hero .bianco.fs30.fw700 {
		display: block;
		width: 100%;
		text-align: center;
	}
}

.logo-geco {
	display: block;
	width: auto;
	height: auto;
	max-height: 52px;
	max-width: min(240px, 52vw);
	object-fit: contain;
}

.geco-hero-text {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}

.geco-hero-text .hero-eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.9;
}

.geco-hero-text .hero-title {
	font-size: clamp(28px, 4.5vw, 48px);
	font-weight: 700;
	line-height: 1.15;
	margin: 16px 0;
	text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}

.geco-hero-text .hero-lead {
	font-size: clamp(17px, 2vw, 22px);
	line-height: 1.5;
	text-shadow: 0 2px 20px rgba(0,0,0,0.55);
}

.geco-hero-actions {
	margin-top: 28px;
}

.geco-hero-actions .puls {
	margin: 6px 8px;
}

.puls-outline-light {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
	box-shadow: none !important;
}

.puls-outline-light:hover {
	background: #07823c !important;
	border-color: #07823c !important;
}

/* Header */
.geco-page .geco-header-brand {
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	max-width: calc(100% - 120px);
}

.geco-page .geco-header-brand .logotop {
	position: static;
	margin-top: 0;
	left: auto;
	top: auto;
	height: 34px;
	width: auto;
}

.geco-page .geco-header-brand .logo-geco-header {
	max-height: 28px;
	max-width: 120px;
}

.geco-page .geco-header-brand .header-amp {
	font-size: 16px;
	font-weight: 700;
	color: #393536;
	line-height: 1;
}

.minilogo-geco {
	display: inline-block;
	height: 44px;
	width: auto;
	vertical-align: -8px;
	margin: 0 3px;
}

/* Ritmo verticale armonico tra le sezioni */
.geco-page .box2,
.geco-page .box3,
.geco-page .box4,
.geco-page .box5 {
	min-height: 0;
}

/* Chi siamo / Cosa facciamo / Partnership — stessa altezza */
.geco-page .box2,
.geco-page .box3,
.geco-page .box4,
.geco-page .box5 {
	display: flex;
	flex-direction: column;
}

.geco-page .box2cont,
.geco-page .box3cont,
.geco-page .box4cont,
.geco-page .box5cont {
	flex: 1;
	width: 100%;
	padding: 88px 0;
}

.geco-page .box4cont {
	display: flex;
	align-items: center;
	justify-content: center;
}

@media only screen and (min-width: 770px) {
	.geco-page .box2cont,
	.geco-page .box3cont,
	.geco-page .box4cont,
	.geco-page .box5cont {
		padding: 100px 0;
	}
}

.geco-page #dove-siamo .box5cont {
	padding: 130px 0;
	min-height: 0;
}

.geco-page .spaziovarbox2,
.geco-page .spaziovarbox5 {
	height: 0 !important;
}

.geco-page #dove-siamo .spaziovarbox5 {
	height: 0 !important;
}

@media only screen and (min-width: 950px) {
	.geco-page #dove-siamo .spaziovarbox5 {
		height: 20px !important;
	}
}

@media only screen and (min-width: 1250px) {
	.geco-page #dove-siamo .spaziovarbox5 {
		height: 50px !important;
	}
}

/* Dove siamo — stesso layout della home (no flex) */
.geco-page #dove-siamo.box5 {
	display: block;
	min-height: 100%;
}

.geco-page #dove-siamo .box5cont {
	display: block;
	flex: none;
}

.geco-page .box2 .cont1200 > h1,
.geco-page .box3 .cont1200 > h1 {
	margin-bottom: 0;
}

/* Fascia verde con icone */
.geco-strip {
	background: #07823c;
}

.geco-strip .cont1200 {
	display: grid;
	grid-template-columns: 1fr;
}

@media only screen and (min-width: 770px) {
	.geco-strip .cont1200 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.geco-strip-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 24px;
	text-align: left;
	border-bottom: 1px solid rgba(255,255,255,0.2);
}

@media only screen and (min-width: 770px) {
	.geco-strip-item {
		border-bottom: none;
		border-right: 1px solid rgba(255,255,255,0.2);
		padding: 32px 28px;
	}
	.geco-strip-item:last-child { border-right: none; }
}

.geco-strip-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	color: #fff;
	stroke: #fff;
}

.geco-strip-item strong {
	display: block;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
	line-height: 1.3;
}

.geco-strip-item span {
	color: rgba(255,255,255,0.88);
	font-size: 14px;
	line-height: 1.45;
}

/* Sezioni con foto di sfondo ribassata + testo leggibile */
.geco-page .box2,
.geco-page .box3 {
	position: relative;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.geco-page .box2 {
	background-image: url('./immagini/chi-siamo-bg.jpg');
}

.geco-page .box3 {
	background-image: url('./immagini/cosa-facciamo-bg.jpg');
}

.geco-page .box2::before,
.geco-page .box3::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.86);
	z-index: 0;
	pointer-events: none;
}

.geco-page .box2 .box2cont,
.geco-page .box3 .box3cont {
	position: relative;
	z-index: 1;
}

/* Contatti — sfondo ribassato */
.geco-page .box5 {
	position: relative;
	background-color: #fff;
	background-image: url('./immagini/contatti-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.geco-page .box5::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.86);
	z-index: 0;
	pointer-events: none;
}

.geco-page .box5 .box5cont {
	position: relative;
	z-index: 1;
}

.geco-img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.geco-page .box2 .geco-img,
.geco-page .box3 .geco-img {
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	border-radius: 14px;
}

/* Servizi in box3 */
.geco-servizio-item {
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(57,53,54,0.12);
}

.geco-servizio-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.geco-servizio-item h3 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	color: #07823c;
}

.geco-servizio-num {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #07823c;
	margin-bottom: 4px;
}

/* Valori */
.geco-valori-section {
	background: #f0f4ec;
	padding: 80px 0;
	border-top: 1px solid rgba(7,130,60,0.12);
}

.geco-valori-section .cont1200 > h1 {
	margin-bottom: 0;
}

.geco-valori-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	margin-top: 28px;
}

@media only screen and (min-width: 670px) {
	.geco-valori-grid { grid-template-columns: 1fr 1fr; }
}

@media only screen and (min-width: 970px) {
	.geco-valori-grid { grid-template-columns: repeat(3, 1fr); }
}

.geco-valore-item {
	padding: 18px 0;
	border-top: 2px solid rgba(7,130,60,0.2);
}

.geco-valore-item strong {
	display: block;
	color: #07823c;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 4px;
}

.geco-valore-item span {
	font-size: 15px;
	color: #393536;
	line-height: 1.45;
}

/* Box4 partnership — foto piena, testo senza box */
.geco-page .box4 {
	position: relative;
	background-image: url('./immagini/partnership-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.geco-page .box4::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 0;
	pointer-events: none;
}

.geco-page .box4 .box4cont {
	position: relative;
	z-index: 1;
}

.geco-box4-inner {
	padding: 0 30px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.geco-box4-inner .partnership-label {
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.geco-box4-inner .partnership-title {
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
	line-height: 1.1;
}

.geco-box4-inner .partnership-text {
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
	line-height: 1.45;
}

.geco-box4-inner .geco-big-num {
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.geco-box4-inner .geco-big-num .sub-num {
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.geco-big-num {
	font-size: clamp(56px, 10vw, 96px);
	font-weight: 700;
	color: #07823c;
	line-height: 1;
	text-shadow: none;
}

.geco-big-num sup {
	font-size: 0.45em;
	font-weight: 400;
}

.geco-big-num .sub-num {
	display: block;
	font-size: 28px;
	font-weight: 400;
	margin-top: 6px;
	color: #393536;
}

/* Mappa — allineata alla home */
.geco-page #dove-siamo #mappa {
	min-height: 300px;
}

@media only screen and (min-width: 950px) {
	.geco-page #dove-siamo .box5dx {
		min-height: 300px;
	}

	.geco-page #dove-siamo #mappa {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		min-height: 300px;
		height: 100%;
	}
}
